package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName("RENT")
public class Rent implements Serializable{

    /**
     * 记录表的id
     */
    @TableId(value = "RECORD_ID", type = IdType.ID_WORKER)
    private Long recordId;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    /**
     * 用户ID
     */
    @TableId(value = "USER_ID")
    private Long userId;
    /**
     * 银行卡ID
     */
    @TableField(value = "CAR_ID")
    private Long carId;
    /**
     * 银行卡绑定姓名
     */
    @TableField(value = "CARD_NAME")
    private String cardName;
    /**
     * 车辆类型
     */
    @TableField(value = "CAR_TYPE")
    private String carType;
    /**
     * 租赁时间
     */
    @TableField(value = "RENT_TIME")
    private Date rentTime;
    /**
     * 归还时间
     */
    @TableField(value = "RE_TIME")
    private Date reTime;
    /**
     * 租车是缴纳的押金
     */
    @TableField(value = "RENT_DEPOSIT")
    private Double rentDeposit;

    /**
     * 花费总金额
     */
    @TableField(value = "RENT_MONEY")
    private Double rentMoney;

    /**
     * 租车地点
     */
    @TableField(value = "RENT_PLACE")
    private String rentPlace;

    /**
     * 还车地点
     */
    @TableField(value = "RETURN_PLACE")
    private String returnPlace;

    public String getRentPlace() {
        return rentPlace;
    }

    public void setRentPlace(String rentPlace) {
        this.rentPlace = rentPlace;
    }

    public String getReturnPlace() {
        return returnPlace;
    }

    public void setReturnPlace(String returnPlace) {
        this.returnPlace = returnPlace;
    }

    /**
     * 本次租赁评价
     */
    @TableField(value = "RENT_ASSESS")
    private String rentAssess;

    /**
     * 是否已经还车
     */
    @TableField(value = "IS_RETURN")
    private Integer isReturn;

    public Integer getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn) {
        this.isReturn = isReturn;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Date getRentTime() {
        return rentTime;
    }

    public void setRentTime(Date rentTime) {
        this.rentTime = rentTime;
    }

    public Date getReTime() {
        return reTime;
    }

    public void setReTime(Date reTime) {
        this.reTime = reTime;
    }

    public Double getRentDeposit() {
        return rentDeposit;
    }

    public void setRentDeposit(Double rentDeposit) {
        this.rentDeposit = rentDeposit;
    }

    public Double getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(Double rentMoney) {
        this.rentMoney = rentMoney;
    }

    public void setRentAssess(String rentAssess) {
        this.rentAssess = rentAssess;
    }

    public String getRentAssess() {
        return rentAssess;
    }
}
